import DefaultTheme from 'vitepress/theme'

import RIcon from '@robo_ui/components/icon'
import '@robo_ui/theme-chalk/src/index.scss'

export default {
  ...DefaultTheme,
  enhanceApp({ app }) {
    app.use(RIcon) // 在vitepress中 注册全局组件
  }
}
